<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width:300px;
            height:100px;
            border:1px solid red;
            text-indent:2em;/*缩进字符*/
            letter-spacing:10px;/*字符之间的间距*/
            word-spacing:20px;/*单词之间的间距*/
            word-break:break-all;/*设置超出父元素部分是否换行显示*/
            overflow:scroll;/*scroll：超出元素部分以滚动条形式显示;hidden:超出元素部分隐藏*/
        }
    </style>
</head>
<body>
    <div>hello world hello world hello world hello world hello world hello worle hello world</div>
    <p></p>
</body>
</html>